package com.talent.service.base.other;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName：WeatherFeignClient
 * @Author: hszhou
 * @Date: 2025/2/27 18:56
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@FeignClient(name = "weather-client",url = "http://aliv18.data.moji.com")
public interface WeatherFeignClient {


    @PostMapping("/111")
    String getWeather(
            @RequestHeader("Authorization") String auth,
            @RequestParam("token") String token,
            @RequestParam("city") String city);
}
